/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package tank.models;

/**
 *
 * @author shengchang
 */
public class DirectionInfo {
    private int directionX;  //+/-
    private int directionY;  //+/-
    private double slope;    
    
    public DirectionInfo()
    {
        directionX = 1;
        directionY = 1;
        slope = 0.5;
    }
    
    public DirectionInfo(int directionX, int directionY, double slope)
    {
        this.directionX = directionX;
        this.directionY = directionY;
        this.slope = slope;
    }

    public void setDirectionX(int directionX) {
        this.directionX = directionX;
    }

    public void setDirectionY(int directionY) {
        this.directionY = directionY;
    }

    public void setSlope(double slope) {
        this.slope = slope;
    }

    public int getDirectionX() {
        return directionX;
    }

    public int getDirectionY() {
        return directionY;
    }

    public double getSlope() {
        return slope;
    }
}
